package com.wxp.cloud.vod;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * 程序启动入口
 * //@EnableDiscoveryClient：开启服务发现
 *
 * @author wxp
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.wxp.cloud")
@EnableDiscoveryClient
public class ServiceVodApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceVodApplication.class, args);
    }
}
